﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ZhongKeSite.Entity;
using ZhongKeSite.Entity.Models;

namespace ZhongKeSite.Service
{
    public interface IExpertService
    {
        #region 专家管理
        LayPager<Expert> GetExpertPagedList(int pageIndex, int pageSize, Expression<Func<Expert, bool>> predicate);
        ResultResponse<Expert> GetExpert(string id);
        ResultResponse AddExpert(Expert model);
        ResultResponse UpdateExpert(Expert model);
        ResultResponse UpdateExpertState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
